var isDebug = true;
require.config({
    urlArgs: isDebug ? "debug=true" : "nocache=" + Math.random(),
    baseUrl: "../scripts",
    paths: {
        jquery: "lib/jQuery/jquery-3.4.1",
        knockout: "lib/knockout/knockout-3.5.0.debug",
        komapping: "lib/knockout/knockout.mapping-latest.debug",
        //必须是这个名字，依赖模块里面叫这个名字
        "knockout.validation": "lib/knockout/knockout.validation/knockout.validation",
        koVLang: "lib/knockout/knockout.validation/localization",
        koVLangZhCn: "lib/knockout/knockout.validation/localization/zh-CN",
        koGrid: "lib/knockout/KoGrid/koGrid-2.1.1.debug",
        pluginAttach: "plugin-attach",
        plugins: "plugins",
    },
    shims: {
        // koVLang: {
        //     deps: ["knockout"],
        //     exports: ["knockout"],
        // },
        koGrid: {
            deps: ["knockout", "jquery"],
            exports: ["ko"],
        },
    },
});
